import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';

@Component({
  selector: 'app-project-detail',
  templateUrl: './project-detail.component.html',
  styleUrls: ['./project-detail.component.scss']
})
export class ProjectDetailComponent implements OnInit {
  id: number;

  constructor(private routerIonfo: ActivatedRoute) { }

  ngOnInit() {
    this.id = this.routerIonfo.snapshot.params['id'];
    console.log(this.id);
  }

}
